package com.lzy.pattern.proxy.jdk_proxy;

/**
 * @ClassName: Client
 * @Description: jdk动态代理测试
 * @Author: LiuZy
 * @Date: 2022/4/19 21:08
 * @Version: 1.0
 */
public class Client {

    public static void main(String[] args) {
        ProxyFactory proxyFactory = new ProxyFactory();
        SellTickets proxy = proxyFactory.getProxyObject();
        proxy.sell();

//        proxy.hello("trainStation");

        System.out.println(proxy.getClass());

        while(true){}
    }
}